package gbench.appdemo.myworld.economy.strategy;

import java.time.LocalDateTime;

import lombok.Data;

/**
 * 周期事件模型
 */
@Data
public class EconomyEvent{
    
    /**
     * 
     * @param id
     */
    public EconomyEvent(long id){
        this.id = id;
    }
    
    private final long id;
    private LocalDateTime time = LocalDateTime.now();
    private String description = "-";
    private Type type = Type.PERIODIC; // 事件类型
    
    public enum Type{PERIODIC,NORMAL};
}